luci-base: add missing css class cbi-button to ui.js
authorFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 07:44:23 +0000 (09:44 +0200)
committerFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 11:33:00 +0000 (13:33 +0200)
Signed-off-by: Florian Eckert <[email protected]>
modules/luci-base/htdocs/luci-static/resources/ui.js

index 9242ad5bbaa62da1ca64de574e01c8b09293b433..78a6d1a86f7df5b12e53a742bce9cd7cd98675d3 100644 (file)
@@ -4235,7 +4235,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
                                                        }
                                                }),
                                                E('button', {
-                                                       'class': 'btn',
+                                                       'class': 'btn cbi-button',
                                                        'click': function(ev) {
                                                                ev.target.previousElementSibling.click();
                                                        }
@@ -4243,7 +4243,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
                                        ]),
                                        E('div', { 'class': 'right', 'style': 'flex:1' }, [
                                                E('button', {
-                                                       'class': 'btn',
+                                                       'class': 'btn cbi-button',
                                                        'click': function() {
                                                                UI.prototype.hideModal();
                                                                rejectFn(new Error(_('Upload has been cancelled')));